package com.tjcu.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author 王恒杰
 * @version 1.0
 * @date 2021/11/3 10:53
 * @email 1078993387@qq.com
 * @Address 天津
 * @Description:
 */
public class Student implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer sid;
    private String sname;
    private String sphone;
    private String sqq;
    private Integer sage;
    private Date sbirthday;
    private String sstars;
    private String sattribute;
    private Clazz clazz;
    private Group group;
    private City city;
    private List<Mark> marks;

    public Student() {
    }

    public Student(Integer sid, String sname, String sphone, String sqq, Integer sage, Date sbirthday, String sstars, String sattribute, Clazz clazz, Group group, City city, List<Mark> marks) {
        this.sid = sid;
        this.sname = sname;
        this.sphone = sphone;
        this.sqq = sqq;
        this.sage = sage;
        this.sbirthday = sbirthday;
        this.sstars = sstars;
        this.sattribute = sattribute;
        this.clazz = clazz;
        this.group = group;
        this.city = city;
        this.marks = marks;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSphone() {
        return sphone;
    }

    public void setSphone(String sphone) {
        this.sphone = sphone;
    }

    public String getSqq() {
        return sqq;
    }

    public void setSqq(String sqq) {
        this.sqq = sqq;
    }

    public Integer getSage() {
        return sage;
    }

    public void setSage(Integer sage) {
        this.sage = sage;
    }

    public Date getSbirthday() {
        return sbirthday;
    }

    public void setSbirthday(Date sbirthday) {
        this.sbirthday = sbirthday;
    }

    public String getSstars() {
        return sstars;
    }

    public void setSstars(String sstars) {
        this.sstars = sstars;
    }

    public String getSattribute() {
        return sattribute;
    }

    public void setSattribute(String sattribute) {
        this.sattribute = sattribute;
    }

    public Clazz getClazz() {
        return clazz;
    }

    public void setClazz(Clazz clazz) {
        this.clazz = clazz;
    }

    public Group getGroup() {
        return group;
    }

    public void setGroup(Group group) {
        this.group = group;
    }

    public City getCity() {
        return city;
    }

    public void setCity(City city) {
        this.city = city;
    }

    public List<Mark> getMarks() {
        return marks;
    }

    public void setMarks(List<Mark> marks) {
        this.marks = marks;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", sname='" + sname + '\'' +
                ", sphone='" + sphone + '\'' +
                ", sqq='" + sqq + '\'' +
                ", sage=" + sage +
                ", sbirthday=" + sbirthday +
                ", sstars='" + sstars + '\'' +
                ", sattribute='" + sattribute + '\'' +
                ", clazz=" + clazz +
                ", group=" + group +
                ", city=" + city +
                ", mark=" + marks +
                '}';
    }
}
